<aside class="bg-dark lter aside-md hidden-print nav-xs" style="z-index: 10;" id="nav"><!--nav-xs-->
    <section class="vbox">
        <section class="w-f scrollable">
        <div class="slim-scroll" data-height="auto" data-disable-fade-out="true" data-distance="0" data-size="5px" data-color="#333333">
            <nav class="nav-primary hidden-xs">
                <ul class="nav">
                <li class="active">
                    <a href="<?=$this->url("index/main")?>" class="<?=isset($leftpost)&&$leftpost=='index'?'active':''?>">
                        <i class="fa fa-dashboard icon">
                            <b class="bg-danger"></b>
                        </i>
                        <span>首页</span>
                    </a>
                </li>
                <?php if($this->partnerInfo['isbusiness']==1){?>
                    <li class="active">
                        <a href="<?=$this->url("merchant/category")?>" class="<?=isset($leftpost)&&$leftpost=='merchant'?'active':''?>">
                            <i class="fa fa-shopping-cart icon">
                                <b class="bg-primary"></b>
                            </i>
                            <span>酒店管理</span>
                        </a>
                    </li>
                <?php }?>
                <li class="active">
                    <a href="#uikit"  >
                        <i class="fa fa-home icon">
                            <b class="bg-success"></b>
                        </i>
                        <span class="pull-right">
                            <i class="fa fa-angle-down text"></i>
                            <i class="fa fa-angle-up text-active"></i>
                        </span>
                        <span>客房管理</span>
                    </a>
                    <ul class="nav lt">
                        <li class="<?=isset($leftbot)&&$leftbot=='type'?'active':''?>">
                            <a href="<?=$this->url("hotel/type")?>" >
                                <i class="fa fa-angle-right"></i>
                                <span>房型管理</span>
                            </a>
                        </li>
                        <li class="<?=isset($leftbot)&&$leftbot=='price'?'active':''?>">
                            <a href="<?=$this->url("hotel/price")?>" >
                                <i class="fa fa-angle-right"></i>
                                <span>价格政策</span>
                            </a>
                        </li>
                        <li class="<?=isset($leftbot)&&$leftbot=='room'?'active':''?>">
                            <a href="<?=$this->url("hotel/room")?>" >
                                <i class="fa fa-angle-right"></i>
                                <span>可售房量</span>
                            </a>
                        </li>
                        <li class="<?=isset($leftbot)&&$leftbot=='info'?'active':''?>">
                            <a href="<?=$this->url("hotel/info")?>" >
                                <i class="fa fa-angle-right"></i>
                                <span>房态管理</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="active">
                    <a href="#pages"  >
                        <i class="fa fa-shopping-cart icon">
                            <b class="bg-primary"></b>
                        </i>
                        <span class="pull-right">
                            <i class="fa fa-angle-down text"></i>
                            <i class="fa fa-angle-up text-active"></i>
                        </span>
                        <span>订单管理</span>
                    </a>
                    <ul class="nav lt">
                        <li class="<?=isset($leftbot)&&$leftbot=='processed'?'active':''?>">
                            <a href="<?=$this->url("order/processed")?>">
                                <i class="fa fa-angle-right"></i>
                                <b class="badge bg-info pull-right"></b>
                                <span>待入住订单</span>
                            </a>
                        </li>
                        <li class="<?=isset($leftbot)&&$leftbot=='todayCheck'?'active':''?>">
                            <a href="<?=$this->url("order/todayCheck")?>">
                                <i class="fa fa-angle-right"></i>
                                <b class="badge bg-info pull-right"></b>
                                <span>已入住订单</span>
                            </a>
                        </li>
                        <li class="<?=isset($leftbot)&&$leftbot=='total'?'active':''?>">
                            <a href="<?=$this->url("order/total")?>">
                                <i class="fa fa-angle-right"></i>
                                <b class="badge bg-info pull-right"></b>
                                <span>全部订单</span>
                            </a>
                        </li>
                    </ul>
                </li>
				<li class="active">
					<a href="<?=$this->url("channels/index")?>" class="<?=isset($leftpost)&&$leftpost=='channels'?'active':''?>">
						<i class="fa fa-home icon">
                            <b class="bg-success"></b>
                        </i>
						<span>分销渠道管理</span>
					</a>
				</li>
                <li class="active">
                    <a href="#layout"  >
                        <i class="fa fa-user icon">
                            <b class="bg-warning"></b>
                        </i>
                        <span class="pull-right">
                            <i class="fa fa-angle-down text"></i>
                            <i class="fa fa-angle-up text-active"></i>
                        </span>
                        <span>系统设置</span>
                    </a>
                    <ul class="nav lt">
                        <li class="<?=isset($leftbot)&&$leftbot=='basic'?'active':''?>">
                            <a href="<?=$this->url("user/basic")?>">
                                <i class="fa fa-angle-right"></i>
                                <span>酒店资料</span>
                            </a>
                        </li>
                        <li class="<?=isset($leftbot)&&$leftbot=='password'?'active':''?>">
                            <a href="<?=$this->url("user/password")?>" >
                                <i class="fa fa-angle-right"></i>
                                <span>修改密码</span>
                            </a>
                        </li>
                        <li class="<?=isset($leftbot)&&$leftbot=='account'?'active':''?>">
                            <a href="<?=$this->url("user/account")?>" >
                                <i class="fa fa-angle-right"></i>
                                <span>账号管理</span>
                            </a>
                        </li>
                        <li class="<?=isset($leftbot)&&$leftbot=='role'?'active':''?>">
                            <a href="<?=$this->url("user/role")?>" >
                                <i class="fa fa-angle-right"></i>
                                <span>角色管理</span>
                            </a>
                        </li>
                        <li class="<?=isset($leftbot)&&$leftbot=='devices'?'active':''?>">
                            <a href="<?=$this->url("user/devices")?>" >
                                <i class="fa fa-angle-right"></i>
                                <span>客房设施</span>
                            </a>
                        </li>
                    </ul>
                </li>
                
                <?
                if($this->partnerInfo['parentid']==0){?>
                    <li class="active">
                        <a href="#pages"  >
                            <i class="fa fa-dashboard icon">
                                <b class="bg-danger"></b>
                            </i>
                            <span class="pull-right">
                                <i class="fa fa-angle-down text"></i>
                                <i class="fa fa-angle-up text-active"></i>
                            </span>
                            <span>财务管理</span>
                        </a>
                        <ul class="nav lt">
                            <li class="<?=isset($leftbot)&&$leftbot=='receivable'?'active':''?>">
                                 <a href="<?=$this->url("financial/receivable")?>">
                                    <i class="fa fa-angle-right"></i>
                                    <span>应收报表</span>
                                </a>
                            </li>
                            <li class="<?=isset($leftbot)&&$leftbot=='clearanceDetailed'?'active':''?>">
                                <a href="<?=$this->url("financial/clearanceDetailed")?>" >
                                    <i class="fa fa-angle-right"></i>
                                    <span>结算明细</span>
                                </a>
                            </li>
                            <li class="<?=isset($leftbot)&&$leftbot=='statistics'?'active':''?>">
                                <a href="<?=$this->url("financial/statistics")?>" >
                                    <i class="fa fa-angle-right"></i>
                                    <span>报表统计</span>
                                </a>
                            </li>
                            <li class="<?=isset($leftbot)&&$leftbot=='clearance'?'active':''?>">
                                <a href="<?=$this->url("financial/clearance")?>" >
                                    <i class="fa fa-angle-right"></i>
                                    <span>结算账户</span>
                                </a>
                            </li>
                        </ul>
                    </li>
                <?}
                ?>
                </ul>
            </nav>
        </div>
        </section>
    </section>
</aside>